<div class="row searchLineWrap">
	<form id="instantMessageForm" name="instantMessageForm" action="${cxt!}/admin/usercenter/inbox" method="post" class="form-horizontal">
		<div class="col-md-12">
			<div class="row">
				<div class="col-md-3">
					<div class="form-group">
						<label class="col-md-5 control-label">${_res["advert.startTime"]}</label>
						<div class="col-md-7">
							<input placeholder="${_res['advert.startTime']}" class="form-control layer-date laydate-icon" onclick="laydate()" name="instantMessage.gt_sendtime" value="${paramMap['instantMessage.gt_sendtime']}">
						</div>
					</div>
				</div>			
				
				<div class="col-md-3">
					<div class="form-group">
						<label class="col-md-5 control-label">${_res["advert.endTime"]}</label>
						<div class="col-md-7">
							<input placeholder="${_res['advert.endTime']}" class="form-control layer-date laydate-icon" onclick="laydate()" name="instantMessage.le_sendtime" value="${paramMap['instantMessage.le_sendtime']}">
						</div>
					</div>
				</div>			
			
				<div class="col-md-3">
					<div class="form-group">
						<% if(hasPrivilegeUrl("usercenterInbox")){ %>
						   <button type="button" class="btn btn-primary pull-right" onclick="ajaxForm('content','instantMessageForm')"> <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
						<% } %>
					</div>
				</div>
			</div>
		</div>
	</form>
</div>


<div class="row searchLineWrap">
	<table class="table table-bordered" id="list-table">
		<thead>
			<tr>
				<th>${_res["myInformation.senderID"]}</th>
				<th>${_res["myInformation.recipientID"]}</th>
				<th>${_res["myInformation.sendtime"]}</th>
				<th>${_res["myInformation.sendContent"]}</th>
			</tr>
		</thead>
		<tbody>
			<% for(message in splitPage.list!){ %>
				<tr>
					<td style="background-color: rgb(255, 255, 255);padding: 12px 8px;"><#cust customerId="${message.senderID!}"/></td>
					<td style="background-color: rgb(255, 255, 255);padding: 12px 8px;"><#cust customerId="${message.recipientID!}"/></td>
					<td style="background-color: rgb(255, 255, 255);padding: 12px 8px;">${message.sendtime!}</td>
					<td style="background-color: rgb(255, 255, 255);padding: 12px 8px;">${message.sendContent!}</td>
				</tr>
			<% } %>
		</tbody>
	</table>
	<div id="splitPageDiv"><#page formId="instantMessageForm" /></div>
	<#nav />
</div>